from APITest.Demo_unittest.Unittest.calculator import Count


class counttest:

    def tests_adds(self):
        try:
            j = Count(3, 3)
            add = j.add()
            if add == 6:
                raise ValueError(" addition result right!")
        except ValueError:
            print('Integer addition result error!')
        else:
            print('test pass!')


c = counttest()
c.tests_adds()
